/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gra.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 日报管理Entity
 * @author wuzengli
 * @version 2017-05-03
 */
public class Daily extends DataEntity<Daily> {
	
	private static final long serialVersionUID = 1L;
	private String content;		// 日报内容
	private String learnTime;		// 学习时长
	private String selfEvaluation;		// 自我评价
	private String sort;		// 排序
	private String status;		// 启用状态 0:不可用 1:可用
	
	public Daily() {
		super();
	}

	public Daily(String id){
		super(id);
	}

	@Length(min=1, max=50, message="日报内容长度必须介于 1 和 50 之间")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	@Length(min=0, max=200, message="学习时长长度必须介于 0 和 200 之间")
	public String getLearnTime() {
		return learnTime;
	}

	public void setLearnTime(String learnTime) {
		this.learnTime = learnTime;
	}
	
	@Length(min=0, max=50, message="自我评价长度必须介于 0 和 50 之间")
	public String getSelfEvaluation() {
		return selfEvaluation;
	}

	public void setSelfEvaluation(String selfEvaluation) {
		this.selfEvaluation = selfEvaluation;
	}
	
	@Length(min=0, max=11, message="排序长度必须介于 0 和 11 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
	@Length(min=0, max=11, message="启用状态 0:不可用 1:可用长度必须介于 0 和 11 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
}